pp108 : hideColumn Method

hideColumn Method


This method hides the column from the grid displayed.

Syntax


bSuccess = tableID.hideColumn(nIndex)

Parameters

Parameter

Description

nIndex

Optional. Integer that specifies the index of the column to be hidden.


Return Value


Boolean. Returns one of the following possible values

true

The column was successfully hidden from the grid.

false

The column was not hidden from the grid.


Remarks


IfnIndexis not specified, the current source element is considered. If the current source element is a column, then the index of that column is taken as thenIndexvalue.

See Also


grid